<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>TF（腾飞）开源】SpringBoot2.x之MultipartFile实现单个文件上传</title>
    <meta charset="UTF-8"/>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<div><img src="./images/wxtfos.png" width="500"/></div>
<div>
    <h3>单上传文件</h3>
</div>
<div>
    <form enctype="multipart/form-data" method="post" action="./singleFileUpload">
        文件: <input type="file" name="fileUpload"/>
        <input type="submit" value="上传"/>
    </form>
</div>
<div><tr>&nbsp;</tr></div>
<div>
    <tr>已上传图片所在路径：</tr>
    <tr th:text="${msg}">显示图片URL</tr>
</div>
</body>
</html>